package com.alks.function.data.request.biocontrol.deptwork;

import com.alks.entity.data.page.PageParam;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDate;

@Data
public class ScheduleLotRequest extends PageParam {

    @ApiModelProperty(value = "产线")
    private String line;

    @ApiModelProperty(value = "指令")
    private String lotNo;

    @ApiModelProperty(value = "型体")
    private String style;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "交期始")
    private LocalDate deliveryDateStart;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "交期末")
    private LocalDate deliveryDateEnd;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "开始日期始")
    private LocalDate beginDateStart;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "开始日期末")
    private LocalDate beginDateEnd;

    @ApiModelProperty(value = "指令类型（1.正常指令 0.结束指令）")
    private Integer lotFlag;

    @ApiModelProperty(value = "排序字段名")
    private String ordName;

    @ApiModelProperty(value = "排序方式（1.顺序 2.逆序）")
    private Integer ordFlag;
}
